<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div>收入:<span id="span1"></span></div>
    <div>付出<span id="span2"></span></div>
    <div>总金额<span id="span3"></span></div>
</body>
<script src="./js-cookie.js"></script>
<script>
    setCookie('shouru', '2', {secure: true, 'max-age': 3600})
    setCookie('zhichu', '1', {secure: true, 'max-age': 3600})
    setCookie('shouru', '1', {secure: true, 'max-age': 3600})
    console.log(getCookie("shouru"))
    deleteCookie("zhichu")
</script>
</html>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            